﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class QuangCaoDTO
    {
        private int _maQuangCao;

        public int MaQuangCao
        {
            get { return _maQuangCao; }
            set { _maQuangCao = value; }
        }

        private int _maLoaiQuangCao;

        public int MaLoaiQuangCao
        {
            get { return _maLoaiQuangCao; }
            set { _maLoaiQuangCao = value; }
        }
        
        private string _linkQuangCao;

        public string LinkQuangCao
        {
            get { return _linkQuangCao; }
            set { _linkQuangCao = value; }
        }
        private string _resource;

        public string Resource
        {
            get { return _resource; }
            set { _resource = value; }
        }

        private DateTime _thoiGianDang;

        public DateTime ThoiGianDang
        {
            get { return _thoiGianDang; }
            set { _thoiGianDang = value; }
        }

        private DateTime _thoiGianHetHan;

        public DateTime ThoiGianHetHan
        {
            get { return _thoiGianHetHan; }
            set { _thoiGianHetHan = value; }
        }

        private int _maNguoiDung;

        public int MaNguoiDung
        {
            get { return _maNguoiDung; }
            set { _maNguoiDung = value; }
        }

        private int _deleted;

        public int Deleted
        {
            get { return _deleted; }
            set { _deleted = value; }
        }

        public QuangCaoDTO()
        {

        }

        public QuangCaoDTO(int ma, string link, string resource)
        {
            _maQuangCao = ma;
            _linkQuangCao = link;
            _resource = resource;
        }
    }
}
